package com.atguigu.day08.HomeWork.HomeWork2;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/12 18:26
 * @注释
 */
public class Test {
    public static void main(String[] args) {
        Person p1 = new Man("张三", 18,"文员");
        Person p2 = new Women("李梅", 23,"洗脚工");
        System.out.println(p1);
        System.out.println(p2);
        p1.eat();
        p2.eat();


    }
}
